<!DOCTYPE html>
{% load i18n %}
{% load staticfiles %}

<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6 lt8"> <![endif]-->
<!--[if IE 7 ]>    <html lang="en" class="no-js ie7 lt8"> <![endif]-->
<!--[if IE 8 ]>    <html lang="en" class="no-js ie8 lt8"> <![endif]-->
<!--[if IE 9 ]>    <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
    <head>
        <meta charset="UTF-8" />
        <!-- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">  -->
        <title>iFlyTek iTestServer Login</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0"> 
        <meta name="description" content="Login and Registration Form with HTML5 and CSS3" />
        <meta name="keywords" content="html5, css3, form, switch, animation, :target, pseudo-class" />
        <meta name="author" content="Codrops" />
        <link rel="shortcut icon" href="../favicon.ico"> 
        <link rel="stylesheet" type="text/css" href="{% static 'users/css/demo.css' %}" />
        <link rel="stylesheet" type="text/css" href="{% static 'users/css/style.css' %}" />
		<link rel="stylesheet" type="text/css" href="{% static 'users/css/animate-custom.css' %}" />
    </head>
    <body>
        <div class="container">
            <!-- Codrops top bar -->
            <div class="codrops-top">

                <div class="clr"></div>
            </div><!--/ Codrops top bar -->
            <header>
                <h1>iTest  <span>爱测未来</span></h1>
            </header>
            <section>				
                <div id="container_demo" >
                    <!-- hidden anchor to stop jump http://www.css3create.com/Astuce-Empecher-le-scroll-avec-l-utilisation-de-target#wrap4  -->
                    <a class="hiddenanchor" id="toregister"></a>
                    <a class="hiddenanchor" id="tologin"></a>
                    <div id="wrapper">
                        <div id="login" class="animate form">

                            <form  method="post"  action="." autocomplete="on">
                                <h1>登录</h1>
                                		{% if form.errors %}
                                        {% include "users/partials/errors.html" %}
                                        {% endif %}
                                		{% csrf_token %}
                                        {% for field in form %}
                                        {% include "users/partials/field.html" %}
                                        {% endfor %}
                                <p class="keeplogin"> 
									<input type="checkbox" name="loginkeeping" id="loginkeeping" value="loginkeeping" /> 
									<label for="loginkeeping">保持登陆</label>
								</p>
                                <p class="login button"> 
                                    <input type="submit" value="{% trans 'Log in' %}" />
								</p>
                                <input type="hidden" name="next" value="{{ next }}" />

                            </form>
                        </div>


                    </div>

                </div>
                 <div class="footer-text">
						&copy; 2016~2018
						<strong>iTest 爱测未来</strong>
						<a href="http://itest.iflytek.com/" target="_blank" title="讯飞iTest">讯飞iTest</a> -@CopyRight
					</div>
            </section>

        </div>

    </body>
</html>